package com.xuan.mapper;

import com.github.pagehelper.Page;
import com.xuan.pojo.Dept;
import com.xuan.pojo.Dto.PageQueryDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeptMapper {
    public List<Dept> selectAll();

    Page<Dept> pageQuery(PageQueryDto pageQueryDto);
}
